<div class="">
    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
        <div class="widget am-cf">
            <form id="my-form" class="am-form tpl-form-line-form">
                <div class="widget-body">
                    <fieldset>
                            <div class="am-form-group" >
                                <label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">小程序id</label>
                                <div class="am-u-sm-9 am-u-end">
                                    <input type="text" readonly="true" class="tpl-form-input" name="agent[wxapp_id]" value="<?= $list['wxapp_id'] ?>">
                                </div>
                            </div>
                            <div class="am-form-group" >
                                <label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">激活状态</label>
                                <div class="am-u-sm-9 am-u-end">
                                    <input type="text" readonly="true" class="tpl-form-input" name="agent[active]" value="<?php if($list['active']==0){ echo '未激活';}else{ echo '已激活';}  ?>">
                                </div>
                            </div>

                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">到期时间</label>
                                <div class="am-u-sm-9 am-u-end">
                                    <input type="text" readonly="true" class="tpl-form-input" name="agent[finish_time]" value="<?= format_time((int)$list['finish_time']) ?>">
                                </div>
                            </div>

                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">添加时间</label>
                                <div class="am-u-sm-9 am-u-end">
                                    <input type="text" readonly="true" class="tpl-form-input" name="agent[create_time]" value="<?= format_time((int)$list['create_time']) ?>">
                                </div>
                            </div>

                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">服务年限</label>
                                <div class="am-u-sm-9 am-u-end">
                                    <input type="text" readonly="true" class="tpl-form-input" name="agent[years]" value="<?= $list['years'] ?>" >
                                </div>
                            </div>

                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">商户名称</label>
                                <div class="am-u-sm-9 am-u-end">
                                    <input type="text" readonly="true" class="tpl-form-input" name="agent[wxapp_name]" value="<?= $list['wxapp_name'] ?>">
                                </div>
                            </div>
                            <div class="am-form-group">
                                <label class="am-u-sm-3 am-u-lg-2 am-form-label form-require">登录名称</label>
                                <div class="am-u-sm-9 am-u-end">
                                    <input type="text" readonly="true" class="tpl-form-input" name="agent[username]" value="<?= $list['username'] ?>">
                                </div>
                            </div>
                    </fieldset>
                </div>
            </form>
        </div>
    </div>
</div>

